package com.cloudkinto.enumType.common;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 进度条类型枚举
 *
 * @author long
 */
public enum ProgressEnum implements IEnum<String> {

    /**
     * 进度类型对应数值
     */
    INBOUND(0, "入库单"),
    OUTBOUND(1, "出库单");

    private final Integer typeCode;

    private final String desc;

    ProgressEnum(Integer typeCode, String desc) {
        this.typeCode = typeCode;
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    public Integer getTypeCode() {
        return typeCode;
    }
}
